Added plot spec routine, needs work