move exits to scrot.c