added dependency of makejdirs on makedirs