fixed spk and install scripts