Make /root instead of /home/root

Small modification to do dynamic prefix if user==root, no prefix, otherwise /home/