stdin fix
license + setup cleanup