added mkdir for missing mirror and remote