Removed file download to ensure bash commands are running as expected... I think the curl download is timeing out.