first attempt at OD script

Here it goes.