Move reverse variable to just before the scores are ranked
Change memory command to use sed to parse free memory.
Create new test which includes mem argument