machine to scrap flow chart