bash script changing localhost url