Add option to scripts to restart jobs marked as FAILED in Charon