Save pi and pk modules