cleanup for execution from nautilus