need to fix getworkingdir
See 'crashes here'