updated for ubuntu 14.04
changed curl