RTGOV-145: updated the deployment script for gadget server.