bugfix

added pathname to remove shell script function