add a command line option for staticInsertion