Adds needed directories