rearranged pandoc and rcrcprofile