make sure certain directories exist