moving options upfront
added auto forloop snippet
added stlref docs