use testling.preprocess instead of scripts.postinstall