Updating some functions and readme.