Edited for ubuntu