quick hack to include ppid in the filename