fix readme
give inspiration credit in readme
updated readme
Fix global variable mistake.
Fixed before filter bug