fixed imports that were pointing to contrib package
"extends" needs to be the first line in templates