old scripts for ETL and ERP stuffs