Fixes for thesis bot