store pwd for commands