makePath altered to allow flag for isWorking; not used yet