a script to generate LIVs