added general costs average computation
added execution to simple script
added general coss average processing