make messtrek standalone-able