rewrite header info + java resourses