added data update script
added directory change magic to cron scripts