add optional --lock-file arg to all scripts so that they can be started by cron