clean up script
write table for each department