use local dir for target