added build modes, see readme