wrapper update to fix package install bug. Sim functions updated to account for melt version issues in generate_records