Adopted best practices for smartmin