Updated the generate_tasks script and Task model.
It won't create new tasks every time