Script asks if update should be installed automatically

Updated pull request #28 with changes after the suggestion by lcapriotti.