Added checker

+ Added a is_dir check to see if libs folder is present in plugin.