Added timer in scripts