Percentage script update with automation of the hostname