Adding subdirectory support in program name