fixed install and run scripts