Dont include closing > in search for closing script