use cwd for the initial generation directory