only set ptft if in preview, made path to config better in renderer, and put in a mtrace in cron function