Use main to launch repayment script