Found an option in latexmk to replace my latex session script