update readme and add refactored script
remove old script