Fixed bug where relative paths were invalid. Added recovery-unit for more user-friendly errors.