create/clear scripts for EC2 tasks