added debug config and extra button