fixes #123 and #125, variable substitution on set variable names
fixes #124, allow variable in codeblock command for name