include the max-control lib the right way