added flexible load alert functionality