Added CLI check to HTTP interceptor