added root dir possibility for MATLAB run as root user