updated expiration script