Error in script fixed.