pwd is optional argument
version up to 0.21