clean up console.logs, add rest of location parameters