Lowercased env constants.
Fix application dir for single command apps.