enable modules based on application environment