Full fee automation including modifications and scripting

Full fee automation including modifications and scripting