Setting up script to setup the template