Fixed bug with multiple autostart databases

- Because of static files needed when adding multiple autostart database
    was error with resouce being declared twice