Another attempt to fix scheme-export command without breaking other stuff.