use echo for after failure script