Several fixes to osl parsing script. Added fix for the output keyword on osl parameters.