fix perms
move skip functions to their own header