Ensure script is not deleted while syncing clean