added } to script