Fixed local addin and remove requireaddin