Remove dependency on $KS_TOOLS and old sitecustomize