def METHOD_NAME():
    global contracts, acct
    thisNetwork = network.show_active()
    if thisNetwork == "development":
        acct = accounts[0]
        devAcc = environ.get('ACC_NAME')
        if(devAcc != None):
            acct = accounts.load(devAcc)
        else: 
            acct = accounts.load("rskdeployer")
        netName = environ.get('DEV_NET_NAME')
        if(netName != None): 
            configPath = "./scripts/contractInteraction/" + netName + "_contracts.json"
            configFile = open(configPath)
        else:
            configFile = open(
            './scripts/contractInteraction/testnet_contracts.json')
    elif thisNetwork == "testnet":
        acct = accounts.load("rskdeployer")
        configFile = open(
            './scripts/contractInteraction/testnet_contracts.json')
    elif thisNetwork == "testnet-dev":
        acct = accounts.load("rskdeployerdev")
        configFile = open(
            './scripts/contractInteraction/testnet_contracts.json')
    elif thisNetwork == "testnet-shared":
        acct = accounts.load("rskdeployershared")
        configFile = open(
            './scripts/contractInteraction/testnet_contracts.json')
    elif thisNetwork == "testnet-dev-shared":
        acct = accounts.load("rskdeployerdevshared")
        configFile = open(
            './scripts/contractInteraction/testnet_contracts.json')
    elif thisNetwork == "testnet-ws":
        acct = accounts.load("rskdeployer")
        configFile = open(
            './scripts/contractInteraction/testnet_contracts.json')
    #  Adds a conditional for the cron job , it will check id the
    #  script is executed as part of the feeWithdrawal/setBlock cron job
    elif thisNetwork == "rsk-testnet" and environ.get('REWARDS_CRON') == "1":
        print("Running cron job")
        acct = accounts.add(
            environ.get('FEE_CLAIMER'))
        configFile = open(
            './scripts/contractInteraction/testnet_contracts.json')
    elif thisNetwork == "rsk-mainnet" and environ.get('REWARDS_CRON') == "1":
        acct = accounts.add(
            environ.get('FEE_CLAIMER'))
        configFile = open(
            './scripts/contractInteraction/mainnet_contracts.json')
    elif thisNetwork == "rsk-testnet":
        acct = accounts.load("rskdeployer")
        configFile = open(
            './scripts/contractInteraction/testnet_contracts.json')
    elif thisNetwork == "testnet-pub":
        acct = accounts.load("rskdeployer")
        configFile =  open('./scripts/contractInteraction/testnet_contracts.json')
    elif thisNetwork == "rsk-mainnet":
        acct = accounts.load("rskdeployer")
        configFile = open(
            './scripts/contractInteraction/mainnet_contracts.json')
    elif thisNetwork == "rsk-mainnet2":
        acct = accounts.load("rskdeployer")
        configFile = open(
            './scripts/contractInteraction/mainnet_contracts.json')
    elif thisNetwork == "rsk-mainnet-ws":
        acct = accounts.load("rskdeployer")
        configFile = open(
            './scripts/contractInteraction/mainnet_contracts.json')
    elif thisNetwork == "rsk-mainnet-websocket":
        acct = accounts.load("rskdeployer")
        configFile =  open('./scripts/contractInteraction/mainnet_contracts.json')
    elif thisNetwork == "rsk-mainnet2-ws":
        acct = accounts.load("rskdeployer")
        configFile = open(
            './scripts/contractInteraction/mainnet_contracts.json')
    elif thisNetwork == "bsc-testnet":
        acct = accounts.load("rskdeployer")
        configFile = open(
            './scripts/contractInteraction/bsc_testnet_contracts.json')
    elif thisNetwork == "sepolia":
        acct = accounts.load("rskdeployer")
        configFile = open(
            './scripts/contractInteraction/sepolia_contracts.json')
    else:
        raise Exception("Network not supported.")
    contracts = json.load(configFile)