Remove endscript. Does not belong here.