Fixing bug in installation script