Ensure environment file only runs from root directory