Added logic for install script