Changed version code to support fragments