bug fixes (correct dir mode, only_if argument, subdir url)