Update script1.php

Minor updates. Not finished.