Fixed errors and added features in mw bot