If script is quit during the Metasploit scanning, the resouce folder will be restored.