fix bash script for deploy