build and generation scripts