fixed timezone date bug and added better handling for DST, also start of rake task for directory