Modified scripts for automatic installation