Replaced postNotification with scanURL
added scanURL