fixing gnome terminal template for ubuntu 14.04

The fix for the script to work properly in Ubuntu 14.04 as well as uniform indentation.