Fixing memory issue.
We have to let the user specify the prefix for the memory usage,
then we can pass that around to the scripts. Scripts should not add
any prefix to the memory, they should use it raw.