Some problems solved

Now works.