updated installation script with dependencies