Release minification

Improved variable substitution (still buggy)