first scripts to extract formation times