nuke isatty check
add sl_environ to platform