Allow to switch between dev and prod mode.