added config and permissions