Is there any way to create a script to make the power button perform a soft shutdown instead of an immediate halt?