remove console.log
output resource name, not title, when loading via script