Init receive the max number from menu hook and shift trails[] array to that number. Also added "cron" hook and "block_info" hook.