make the loader into a rake task