better directories and date directive