adding script to main
redirect code in home.handlbars