Fix extra cases for *
Back to ref counting
Sample sbt config
Fix defineVariable
Simplified variable logic