added amazon template option and field. updated cron function.