There was a bug in switching directories that I have fixed.