prep script for deploy