update scripts for auto running.
remove a bunch of unecessary files.