Turn deployrequest function into separate script