Cleanup escript return value code