Removing unused code.
Adding s script for GPL.