Refactoring mount.sh