Script error setting password