Fix #57 - properly set the current working dir, before invoking shell commands