refactored methods that chown to use the attributes rather than hardcoded memsql. values