update output directory for linux