gist for roots activation when switching theme