Removed call to LCase the foldername, otherwise calls to $pluginDelete fails. Linux is case sensitive.