Updating website code to put helper functions into the module