Better handling of the "AlwaysRerun" setting in post-deployment scripts