Logic updates and readme update