Brushed up Q6-rsync.sh and deploy_module for ease of use and fixed syntax errors