Changes for get_mount_color, add global function.