Fixed typos, bugs and detection of plugins is working now