update on automated default script to became easier to be added as a cron job