Added config and spawn