added scgen in cli mode - initial version