fix some capatross issues to facilitate running in a standalone subdirectory