Fixed incorrect version for registered script