Adds switch for deployments based on khaleei-settings value

Change-Id: I2f1139759615c1a26bd25f00fb07cf7c0dc2d67d