removed half-assed prefixing of getcwd()