How can I access the value of $app