with autodiscovery files and mkdir_p