diff --git a/scratch/drop.lua b/scratch/drop.lua
index 4690e65..c86dc46 100644
--- a/scratch/drop.lua
+++ b/scratch/drop.lua
@@ -71,7 +71,7 @@ function toggle(prog, vert, horiz, width, height, sticky, screen)
             dropdown[prog][screen] = c
 
             -- Scratchdrop clients are floaters
-            awful.client.floating.set(c, true)
+	    c.floating = true
 
             -- Client geometry and placement
             local screengeom = capi.screen[screen].workarea
@@ -102,14 +102,14 @@ function toggle(prog, vert, horiz, width, height, sticky, screen)
 
         -- Add manage signal and spawn the program
         attach_signal("manage", spawnw)
-        awful.util.spawn(prog, false)
+        awful.spawn(prog, false)
     else
         -- Get a running client
         c = dropdown[prog][screen]
 
         -- Switch the client to the current workspace
         if c:isvisible() == false then c.hidden = true
-            awful.client.movetotag(awful.tag.selected(screen), c)
+            c:move_to_tag(screen.selected_tag)
         end
 
         -- Focus and raise if hidden