fixed date picked script