added rootURL to app.'s