script I needed for creating files, made for  wak8 +