Added option for creating word array as python source file