Corrected ploting for personnel + Added function_of_comptable