Make relative paths cron friendly in script