change pre_exec to exec for acpi state display