Updated readme with better code, removed unnecessary stuff from script.