sp version script