Communities get grant to help fight disasters