Update to bulk KS test so that it uses the KS test script as its base