A small, script based resource calculator