Added optional random_id to config for testing