Fix ames port logic

Hey, we have a -p flag. Neat.