As far as the switch question : Yes the use of the pull chain is legal.