fix install script to work with unicorn
Merge pull request #1365 from dobacco/master

update install script for unicorn