Adding print statement in skip() to output the command return value