uploading code book, revised readme and final script