Enable user to optionally remove `var namespace` statement at start of file

Previously script would fail if namespaces contained a `.` (due to attempting to var stuff like `App.Name`). Plus the `var namespace` code isn't necessary in all circumstances and reduces flexibility for the user.