Adding deploy process function