Fixed end lines and and made skill line matching more flexible