Fixed flugin permissions