minor changes to make 'install'