haartophp script, create smaller output