Fix issues when running on sublime text 3.

Also update boilerplates to latest version.