Fixed overriding reversed builtin function
Fixed not changing working dir to chgdir