added additional hooks to enable specification of base images to use for building, as well as build command to run