Bash script for uploading to igloo