tried to fix scripts

github version is different than site tutorial