add support for packaging