adding osl_loop extension

Hi,

Re-submitting the osl_loop extension pull request after correcting typos.

Taj.