Fixed bug in main.py and added EC2 ssh connection bash script.