fixes installation script
fixes packages copying