linux porting: report script