Edited to allow plugins in the user/plugins folder.