initial after fork, rework directory and settings.