added group samples and made changes to wrapper script