Get the resources directory right, that might help.