refactor: customize the script to run under cron as well. async and await integration