Initial working version of the get script.