added script for state codes and constituency codes