fixed run scripts, now working with archlinux and ubuntu 12.04