Script works now