Readded uninstallation code, moved my code to top of the file.