rename and divide directive in two parts