replaced double quotes with single quotes for build_message switch blocks