adding kernel and gridfile making scripts