changed mode.properties and packaging script