removing console.logs, fixing issue with single page running.