Fix : script errors