Fixed script error on Eden related to duration changes