remove logging when called from script