Added log directory to avoid using BUILD_NUMBER in the script