use the ```expanduser``` code instead of ```HOME```. (make sure the line doesn't become too long)