Modify reconstruction to allow for scripting.