make workdir for shell wrapper a parameter