tweaked deploy process