updated README.md and changed sequence of script