Fixed rbt, various module issues and missing config variables