code cleanup

script renamed
copyright notices added