Fixing map adjustment scripts