Add ability to switch between production and staging at runtime