set env variable after adding app to path