set app vars