Pi cleanup and lua lib win only