use cwd for options