Added support for writing version when programs are uploaded