Add automated script
Simplify working set size computation