change timestamp of orders from UTC time to local time and refactor predu.sh