Updates deploy script for generality