Fix export directory for single file execution