make scripts use cabal paths
fix more warnings