Changing from '~' to '$HOME'