updated readme and added a console.log to scripts