Cleanup stored procedure code and extract and display selected SP