allow only 1 app instance, lock root folder-wip