Fixes dotenv file and resolves app error needing config.secret_key_base for app execution