Added functionality to for handling onInstall Event