Design and manufacturing of flexible bag packaging systems