added remote deployment support