created the needed directories