Tips on Customizing SG Optimizer