add script to deal with ghc-pkg-db