Modified ubuntu script.