Separate out generating and saving lock file
Add properties to allow command line overrides of plugin behavior