OD script generating, incomplete