Remove an unused import, trailing whitespace and fix blank lines
Make the addon run conditional on boot options

The addon should run only if requested we boot options.