simplified options for command and transparency, code style fixes.