better setup libs script