make scripts q! quit r2

q! in a script would not quit r2.

now it should quit r2