Fix script not contioning since file is removed