Fixed several problems in starterupper script.