Describe technological and legislative factors behind change in child labor conditions.