Upgrading the worker to police itself and also stream without requiring a new command input.  Handling cases where there is no PS1 in os environ