Use random directory instead of hardcoded.