Removed debug code
actualized readme.txt
Fixed backward compatibility code