At the moment the problem his that autofiles are remade and saved only for .tex file and not for .sty file. In fact it seems that no style is even created for a .sty file.