added local env settings to gitignore,updated x versions, updated env logic in settings