externalized path resolver and command builder