 (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
 (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
 (package-initialize)
+(when (not package-archive-contents)
+  (package-refresh-contents))
 
 (setq use-package-verbose t) ; verbose init debug & profiling
 

  (global-smart-tab-mode 1)
  (setq smart-tab-using-hippie-expand t))

(use-package term
  :ensure t
  :bind

  :ensure t)

(use-package zenburn-theme
  :ensure t
  :config
  (load-theme 'zenburn)
