octascript: algorithm fixes + make changes module use them again