Correcting error that prevented any flags from being recognized