support catlog to run in any subdirectory of project