add deployment mode to config