added build types and better response codes.