Support deploying to custom context