Use params to run this script
python p2sh_with_timelock.py <bitcoinaddress> <timelock>
Insert the private keys in the script
python spend_p2sh_with_timelock.py
Please let me know if I made any security mistakes or if there is a better solution to this than how I did it.