cleaned up scripts file, resolved all reasonable pep8 violations