moved deployment code from node to evapi