Looks like this umask() function is called regardless, so you might want to get rid of the call inside the eval block.