Updated setup script with dependencies