Create the output in the local folder
Optimize function calls for no-argument functions