Tweaked init script to correctly remove git directories and files and then to remove itself