fixed install script

fixes #815 

Confirmed to work this time! :cold_sweat: 
![image](https://cloud.githubusercontent.com/assets/677704/3760401/83e71178-1876-11e4-93e4-a329c9305c69.png)