version 1.0.2 with fixes in activity and enhancment in generator