Create membership db script