Added flexible port require