Hello again. I have checked the procedure SC uses to sync applications. First it reads the directory for applications. Second it reads what exists in the database. After it generates an array containing the difference directory minus database and creates a product between groups (in the case of group security) and the “new” applications. It is almost right, but I had to rename an application and when run to sync the new name, the application created the new but didn?t drop the old one. I think the system shoud define a difference array, database minus directory, to delete the applications which do not exist in the directory. Also it creates entries for non application files. For example added the name for an Index.html file which existed in the directory. Thanks again for your help.
Regards.