support installation in sub-directory