BUG:  OUTPUT_PREFIX should be OUTPUT_LOCAL_PREFIX