excalibur bot implementation and bug fixes