Fix bad syntax in script