create directories ayutomatically