For frequent travelers, this has been a miserable summer of flight delays and cancellations. In the past few weeks alone, I’ve been stuck in Austin, Aspen, Denver, Boston, and Toronto. I’ve spent my downtime at various airports chatting up agents, crew, and other staff. While some of the problem is related to weather, it turns out that there are lots of other reasons for delays, from computer crashes to shoddy equipment to untrained staff. While you can’t force a plane to take off in a lightening storm, I now know that there are ways to game the system.

You may not always be in a situation where a 90-minute delay is a problem. But if you must make a connecting flight—or if you really do need to get home or to your meeting on time—the following tips might come in handy.

1. Plan to take the earliest flight of the day whenever possible.

Why this matters: This may seem obvious, but it’s worth repeating. Bad weather, computer glitches, and other mishaps can affect thousands of flights well after the initial event. If you’re flying out of an airport that’s notorious for weather delays, get the earliest flight out you can and plan on a longer layover at your connecting airport. It’s a far better situation to have several possible later flights home rather than just one.

2. Never check luggage unless it’s absolutely necessary. 

Why this matters: If your flight is delayed or you miss a connection, the agents will not book you on a different flight. If the weather gets bad, agents are far more likely to try and squeeze you on an earlier flight if you haven’t checked luggage. If your itinerary includes a smaller aircraft, keep the size of your carry-on bag in mind. Smaller planes can’t accommodate suitcases, which means you’ll have to gate check—and depending on the airport, that might mean retrieving your suitcase at baggage claim, which could cost you additional time.

3. Six hours before your flight, go to this websiteit is the FAA map of the general takeoff status at airports. It won’t tell you if your specific flight is delayed, but if you notice that flights seem to be running 30 plus minutes behind, I recommend you get to the airport ASAP. You can do a secondary check by going to Google or TripIt and entering your specific flight number, but that’s only going to tell you if your particular flight is delayed. It’s possible that there may be a mechanical issue on your flight in its previous city, or bad weather coming in, but you won’t get a delay notice. At this point, you’re trying to spot trends. You can go to your airline’s page to troll for early indicators, too, but you’ll get varying results. United and Delta are sometimes good, Southwest is mostly bad.

Why this matters: If you’re seeing more than one delay at your airport that’s 30 minutes or more, that means there’s some kind of weather delay that will likely impact your flight, too. Even if you don’t see bad weather where you are, that doesn’t mean you’re in the clear. New FAA regulations and airline procedures mean that you’ll now see incremental delays—first 10 minutes, then 30, then another 30, etc.—rather than a definitive delay of two hours. Note: Even if you do have a delay, you still need to be at the airport. They may reverse the delay without telling you quickly enough, and you could wind up taking off on time or even a few minutes early.

4. If your flight is delayed, get to a front counter agent as soon as humanly possible and petition to get on an earlier flight or on standby for a plane that’s on the ground and ready to go. Find out which airplanes are currently on the ground. Try and get on one of them—change your ticket or get on standby. If you need to get home or make a connection, pay the additional fee. Once again, remember not to check your bag. Do not wait for your airplane to be fixed or wait for an inbound flight to arrive. Just switch. Don’t make chit-chat with the agent. Be friendly, but tell him/her that you’re not going to make your connecting flight. Empathize with his/her situation as a frustrated counter person, but remember that you’re not there to make friends. Express a sense of urgency and sound convincing. You must get on the standby list at the outside counter, before you get to the gate, when it will be too late. If the agent isn’t providing you with much help, get to a first-class lounge inside (more on that below).

Why this matters: When there’s any delay—weather, mechanical or otherwise—your goal is to get onto whatever plane is currently at the airport and has a crew.

5. Get through TSA as fast as possible. Your goal is to get to the gate. Get in a line without kids, people moving slowly, or people with medical devices of any kind. Avoid people who look like they probably don’t travel often. Follow men/women in suits or people who’ve already taken their laptops out of their bags: Chances are good they will be motivated to move quickly, like you. Do not take your plastic bag of liquids out of your suitcase. Very few airports enforce this rule, and it’ll slow you down. (This doesn’t apply at MIA and FLL.) Do take out your laptop. Take the stuff out of your pockets, take off your shoes, take off whatever jacket or sweater you’re wearing. This means to dress in layers and be willing to strip down to a tank top or T-shirt.

Why this mattersYou can do a great job getting all the way to TSA only to be thwarted by passengers who don’t know what they’re doing. And while TSA doesn’t seem to care about those precious plastic baggies, they will stop and frisk you if you’re wearing bulky clothing. TSA can slow you down immensely, so try and make the process easier.

6. If your flight is late, introduce yourself to the gate agent. Ask if the delay is mechanical, weather or “irregular operations.” If applicable: Remind agent that you should be first on the standby list—Even if you aren’t, play dumb and desperate.

Why this mattersThis will let the gate agent know that you know how things work, and s/he will be more likely to give you more information, which you will need to make decisions going forward.

7. If the gate agent isn’t being helpful, find the nearest lounge. This will only work for a travel lounge that’s for your airline (United First Class lounge, for example).

Why this mattersThe agents in the lounge are less busy—and let’s face it, less stressed—than the agents dealing with angry travelers outside. They also sometimes have additional tools to help premium passengers get onto flights. In the U.S., a first-class ticket alone won’t gain you access, but if you’re a frequent traveler, chances are good you already have a card in your wallet that will help. For example, Amtrak’s Select Executive will get you into United’s First Class lounge, even if you’re flying coach. You can also ask the lounge agents if they have a day pass option. The $50 it might cost you to buy a day pass could pay for itself when the lounge agent gets you onto an earlier flight with no change fee. I recommend mapping out airport lounges before you leave for your trip.

8. During a delay, if it’s after 3 p.m. local time west of the Mississippi and you’re flying east, or if it’s the last flight out and you’re flying west, ask the gate agent if there’s a possibility that the crew will go illegal. Most airlines are understaffed, and many unions are unhappy and intimating possible action. If your plane does come in, it could be that the crew assigned has already worked the maximum number of hours they’re allowed (because of the delay). Or, they may time out during flight. If so, they may not be able to fly the plane. It’s possible that the pilot(s) could go illegal or that the crew could, or that the baggage handlers could.

Why this mattersIf there’s a possibility that a crew member could go illegal, that means your plane may not take off. Or that you’ll have to wait a really long time for them to find another crew to fly the plane. If this is the case, stay on the standby list or on the plane where you’re originally booked and immediately start working your phone to get on another flight. This might mean switching to another airline. Note: If you do decide to book on another airline or flight, make sure you have the new tickets confirmed and in hand before canceling the old ones. Do not try and accomplish this over the phone or at the gate, where you’ll wind up on a long line. Use Kayak or Hipmunk—but again, double check to make sure that flight is on time before you book.

9. Stand next to the gate agent, even if they ask you to sit down. Be polite but firm. Empathize, but stand your ground.

Why this matters: Ultimately, they just want you to go away and to not be their problem anymore. They’re more likely to give you that standby seat even if the other passenger has a few more minutes to get on the plane … just so they don’t have to look at you anymore. If you’re someone who’s naturally charming and being super nice won’t seem insincere, you can also try that.

10. If it looks like your plane is taking off but you have a carry-on and are near the end of the boarding process, use a mobile boarding pass. Take a mobile screenshot of the QR or barcode and expand it so it takes up most of your screen.

Why this matters: If your code is all that’s showing, the agent won’t be able to see that you’re in the last boarding group. You’ll be able to walk right on to the plane ahead of everyone else, which means you’ll have first access to the overhead bins. Note: Mobile boarding passes aren’t accepted at all airports. Some TSA checkpoints don’t have working scanners, and I’ve seen them send passengers all the way back out to the front of the airport to print out a boarding pass. Note: Unlike most of the other advice here, this is obviously a jerk move, boarding you ahead of other passengers who are supposed to be in front of you.

11. Always get names and times. You’ll forget them later, so write everything down while it’s happening. (Also, forget about Twitter.)

Why this matters: Unless you’re a celebrity, don’t waste your time rage-tweeting the airline. While they may respond to your tweet at some point, they’re not going to resolve your immediate problem. If you think you might write to customer service later, they’ll respond better if you have actual names of people.