new functions to export plate layout