Made the script run automagically in cron.hourly, but it needed to get su permissions.