used sudo echo to put the password prompt first