Added lock file
Added lock file
Integrate automatic decoding to cron.sh