is there any infrastructure to run scripts upon suspend resp resume? the only way so far seems to be using apmd -- but that adds considerable delay to resume ...