Workaround for file:consult not accepting funs.

Using file:script/1 instead. Had to modify dispatch configs accordingly.