removed cat at the end. actually i don't know why it was there.
removed renaming of volumes and added a file to hold the path reference