Clean up and make script more specialized
Renamed udf calculation scripts to qc amount calculation