Adding the defines did not solve the problem. I will have another look at my script, to make sure all my bmaps are defined.

Thanks for your help!