added script, license and updated readme