Make sure that generated ec.sh file is ready to be executed