Use functions called before dals are initialized