updated cross val script