Changed install to determine script directory