Plugin support added, need to clean up since it broke bot structure.