diff --git a/frontend/Shifting/scripts/py/script.py b/frontend/Shifting/scripts/py/script.py
index 792780c8dbdc672557cad06ba07bce835a34aecd..f58f05482c5fce67699f8acc190c8149de2a8cc1 100644
--- a/frontend/Shifting/scripts/py/script.py
+++ b/frontend/Shifting/scripts/py/script.py
@@ -22,7 +22,7 @@ def approve(amount):
         'gasPrice': w3.eth.gasPrice,
         'nonce': w3.eth.getTransactionCount(w3.eth.defaultAccount.address)
         })
-    signed_txn = w3.eth.account.signTransaction(txn, '0x047eb26808901c4fdf33262a3d9ea7e6a15f5683f9f60eef1b5a615fc2b3756a')
+    signed_txn = w3.eth.account.signTransaction(txn, priv_key)
     txn_hash = w3.eth.sendRawTransaction(signed_txn.rawTransaction)
     tx_receipt = w3.eth.waitForTransactionReceipt(txn_hash)
 
@@ -35,7 +35,7 @@ def shift(amount):
         'gasPrice': w3.eth.gasPrice,#w3.eth.gasPrice,
         'nonce': w3.eth.getTransactionCount(w3.eth.defaultAccount.address)
         })
-    signed_txn = w3.eth.account.signTransaction(txn, '0x047eb26808901c4fdf33262a3d9ea7e6a15f5683f9f60eef1b5a615fc2b3756a')
+    signed_txn = w3.eth.account.signTransaction(txn, priv_key)
     txn_hash = w3.eth.sendRawTransaction(signed_txn.rawTransaction)
     tx_receipt = w3.eth.waitForTransactionReceipt(txn_hash)
 
@@ -46,7 +46,7 @@ def faucet():
         'gasPrice': w3.eth.gasPrice,#w3.eth.gasPrice,
         'nonce': w3.eth.getTransactionCount(w3.eth.defaultAccount.address)
         })
-    signed_txn = w3.eth.account.signTransaction(txn, '0x047eb26808901c4fdf33262a3d9ea7e6a15f5683f9f60eef1b5a615fc2b3756a')
+    signed_txn = w3.eth.account.signTransaction(txn, priv_key)
     txn_hash = w3.eth.sendRawTransaction(signed_txn.rawTransaction)
     tx_receipt = w3.eth.waitForTransactionReceipt(txn_hash)