Moved setskip() to util.c