Create close_tasks.sh