Fixes #46; no longer deleting work file, hoping this fixes the problem