Updated with more info
Improved compact and log table functions