0. Added timeout
2. Update documentation
Added debug option