post failure report script