Updated service file with app environment variable