dynamic main for anims and rlv