Added byebug for debugging in the development environment, fixed bot checking logic.