date as scripts not functions