fixed script for installing