Replaced hardcoded user path with $HOME variable