More source trees, fixes for cron (don't assume workdir is the scriptdir)