updated readme and documentation in script