Fixed script active state