Removed trailing whitespace and changed function scope
Readme clarification
Added manual toggle