run Macaulay2 functions outside the current Macaulay2 process