added build and check tasks