Fixed all issues with the forked plugin

Fixed the broken braces