Bugfix: local variables in functions were not local
Adding mountpoint function
Version 2.4 release