Create resource when not found
Added better diagnostic messages
Merge branch 'create_resource_fix'