No thats not it, all my code was perfect. The problem turned out to be that i didnt have it in the path. The simplist answer is probably the right one.