making the username dynamic in the scheduled task script