action module added, activity generation fixes