Remove periods from optimize command.