package import fix
export the template and static dirs