minor stuff
auto-detect paths