added home, shell, comment and managehome as parameters