Ensure scope of application variables