Fixing GTM double firing. Adding build script for min version