Configures Otto app based on environment