Fix where to find relative filenames from within commands.