Fixed code so that -info works properly.