added packager functions, not yet tested