Modified scripts for ubuntu