added appmanmodule back smartly