Add timer to main.sh