updated deploy.coffee and add adapater support