Changing module config over to path instead of function