Added globals file.
Template version is now checked when used updated if old.
Fixed error handling for unzip.
Fixed repository path.
Updated tsd