still trying to get it working as a module