fixing ubuntu deploy scripts

tested to work on ubuntu 12.04-1 :-)   !!