Added socode_source variable