modified model for more flexibility; buildURLs.py is not complete