Add more script logic to README