Update rsc-installomatic.sh

added logic for hostname and upgrade