added activation file and other bug fixes