checkpoit + fixed build script