Adding lockfile to the cron script