 
     if options.playground
       @handlePlaygroundSelection options.playground
+    else
+      @teamwork.on "PanelCreated", =>
+        @doCurlRequest "https://raw.github.com/koding/Teamwork/master/Playgrounds/manifest.json", (err, manifest) =>
+          @populatePlaygroundsButton manifest
+
+  populatePlaygroundsButton: (playgrounds) ->
+    button   = @teamwork.getActivePanel().headerButtons.Playgrounds
+    menu     = []
+
+    playgrounds.forEach (playground) =>
+      item   = {}
+      {name} = playground
+      item[name] = {}
+      item[name].callback = =>
+        @handlePlaygroundSelection name, playground.manifestUrl
+
+      menu.push item
+
+    button.setOption "menu", menu
 
   showToolsModal: (panel, workspace) ->
     modal       = new KDModalView


    return rawOptions

  handlePlaygroundSelection: (playground) ->
    manifestPath = "https://raw.github.com/fatihacet/TeamworkPlaygrounds/master/#{playground}.json"
    @doCurlRequest manifestPath, (err, manifest) =>
      @teamwork.startNewSession @mergePlaygroundOptions manifest, playground
      @teamwork.container.setClass playground
      @teamwork.on "WorkspaceSyncedWithRemote", =>

          title           : "Playgrounds"
          itemClass       : KDButtonViewWithMenu
          cssClass        : "clean-gray playgrounds-button"
          menu            : []
        ]
        floatingPanes     : [ "chat" , "terminal", "preview" ]
        layout            :
