Scripts and ipkg preparation