added script to configure register and bit fields.