Modify empirical to use automodule