changed the name of the VERSION env variable to APPVERSION for conflicting with Rails Env variables