this is a BAD change. This command can be used from console where session is NULL