modify deploy script to get output while the process is ongoing