Added defines and image resources