Configuring Xbee parameters through arduino code

Hi,
I've started using the arduino recently for a uni project, I managed to hook up simple wireless serial communication between two arduino due's, but every time i have to configure the parameters of an Xbee i'd have to use the XCTU software. I was wondering if it's possible to configure the parameters of an Xbee module such as Channel and PANID through code.
I'm using the Xbee series 1 and it's connected to arduino due through the wirless proto shield

I was wondering if it's possible to configure the parameters of an Xbee module such as Channel and PANID through code.

Yes, it is. But, really, how often do you need to change the parameters of an XBee? I set PAN ID, MY and DL on mine, and write the data on a piece of tape on the XBee, and then I never have to diddle with them again.