Fix bug with scripts longer than single line (lol)