added dependency checks and reference data verification to the beginning of SURPI