fixed interactive and package mode