Script for building a distribution package.
Some additional prerequisites.
Fix machine applyMutation.

Keep defined attributes when generating new ones.
Add R2/R4 loops to variables.