Reconfigured deploy mechanics in an attempt to get deploy working