.sp file processing added