Added gl_check

gl_check is a mod of f-dirprecheck and some additional programs