I will Post the code here. This is what i have in the main.lua file. Apologies if i have royally screwed something obvious up 
All my file names match
local physics = require("physics")
local ui = require("ui")
local gameUI = require("gameUI")
physics.start()
system.activate( "multitouch" )
display.setStatusBar( display.HiddenStatusBar )
local bkg = display.newImage( "night\_sky.png" )
bkg.x = 160; bkg.y = 240
local instructionLabel = display.newText( "drag any object", 80, 16, native.systemFontBold, 20 )
instructionLabel:setTextColor( 255, 255, 255, 40 )
local ground = display.newImage("ground.png") -- physical ground object
ground.x = 160; ground.y = 415
physics.addBody( ground, "static", { friction=0.5, bounce=0.3 } )
local grass2 = display.newImage("grass2.png") -- non-physical decorative overlay
grass2.x = 160; grass2.y = 464
local dragBody = gameUI.dragBody -- for use in touch event listener below
local function newCrate()
rand = math.random( 100 )
local j
if (rand \< 45) then
j = display.newImage("ben.psd");
j.x = 60 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=0.9, friction=0.3, bounce=0.3 } )
elseif (rand \< 60) then
j = display.newImage("alex.psd");
j.x = 60 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=1.4, friction=0.3, bounce=0.2 } )
elseif (rand \< 80) then
j = display.newImage("shaun.psd");
j.x = 60 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=3.0, friction=0.3, bounce=0.1, radius=33 } )
elseif (rand \< 85) then
j = display.newImage("matts.psd");
j.x = 60 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=3.0, friction=0.3, bounce=0.1, radius=33 } )
elseif (rand \< 90) then
j = display.newImage("pierre.psd");
j.x = 60 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=3.0, friction=0.3, bounce=0.1, radius=33 } )
elseif (rand \< 91) then
j = display.newImage("rachel.psd");
j.x = 60 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=3.0, friction=0.3, bounce=0.1, radius=33 } )
elseif (rand \< 92) then
j = display.newImage("mike.psd");
j.x = 60 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=3.0, friction=0.3, bounce=0.1, radius=33 } )
elseif (rand \< 93) then
j = display.newImage("joe.psd");
j.x = 60 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=3.0, friction=0.3, bounce=0.1, radius=33 } )
elseif (rand \< 95) then
j = display.newImage("pj.psd");
j.x = 60 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=3.0, friction=0.3, bounce=0.1, radius=33 } )
elseif (rand \< 97) then
j = display.newImage("dylan.psd");
j.x = 60 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=3.0, friction=0.3, bounce=0.1, radius=33 } )
elseif (rand \< 98) then
j = display.newImage("mattl.psd");
j.x = 60 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=3.0, friction=0.3, bounce=0.1, radius=33 } )
elseif (rand \< 99) then
j = display.newImage("henry.psd");
j.x = 100 + math.random( 500 )
j.y = -100
physics.addBody( j, { density=3.0, friction=0.3, bounce=0.1, radius=33 } )
else
j = display.newImage("luis.psd");
j.x = 60 + math.random( 160 )
j.y = -100
physics.addBody( j, { density=0.3, friction=0.2, bounce=0.5 } )
end
j:addEventListener( "touch", dragBody )
end
local function drawNormal()
physics.setDrawMode( "normal" )
end
local function drawDebug()
physics.setDrawMode( "debug" )
end
local function drawHybrid()
physics.setDrawMode( "hybrid" )
end
local button1 = ui.newButton{
default = "smallButton.png",
over = "smallButtonOver.png",
onPress = drawNormal,
text = "Normal",
size = 16,
emboss = true,
x = 55,
y = 450
}
local button2 = ui.newButton{
default = "smallButton.png",
over = "smallButtonOver.png",
onPress = drawDebug,
text = "Debug",
size = 16,
emboss = true,
x = 160,
y = 450
}
local button3 = ui.newButton{
default = "smallButton.png",
over = "smallButtonOver.png",
onPress = drawHybrid,
text = "Hybrid",
size = 16,
emboss = true,
x = 265,
y = 450
}
-- Make buttons into physics objects so they remain visible in "debug" draw mode
--physics.addBody( button1, "static", { density=1.0 } )
--physics.addBody( button2, "static", { density=1.0 } )
--physics.addBody( button3, "static", { density=1.0 } )
local dropCrates = timer.performWithDelay( 500, newCrate, 120 )
[import]uid: 17198 topic_id: 5186 reply_id: 17243[/import]