added GNU GPL v2 header and minor changes in output string