Adding config script into template