enhance installer script for mapping groups.