added config and init dirs