Main plugin file