provide mechanism for running scripts on charge/discharge