Fix for initial output directory declaration