fixes install script

The current implementation fails when running the install script from inside ```bin/```