improved the script and added readme
added script