Added regex for app root, remove app name, changes instance name to app root