finalized script added PIP setup