Thanks Muhammad,
I have uploaded this now however I cant get the solution to activate. At first I couldnt get the activate button to appear but starting the sandbox service solved that one. Now it takes a long time and then comes up with an error
The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request.
Any thoughts?