Creating dirs for the legacy code