Add ability to run desired apis from different environments